home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 January / Macworld (2000-01).dmg / Shareware World / Info / For Developers / REALEasyPrefs.sea / REALEasyPrefs / Read Me next >
MacBinary  |  1999-10-19  |  5.1 KB  |  [ttro/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Oct 19 17:40:02 1999, modified Tue Oct 19 17:40:02 1999, creator SimpleText, type SimpleText read-only, 3222 bytes "Read Me" , at 0xd16 1672 bytes resource default (weak)
99% file data default
74% TrID Mac SimpleText read-only (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ttro]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 52 65 61 64 20 4d | 65 00 00 00 00 00 00 00 |..Read M|e.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 74 74 72 6f 74 74 78 | 74 01 00 00 00 00 00 00 |.ttrottx|t.......|
|00000050| 00 00 00 00 00 0c 96 00 | 00 06 88 b4 32 95 b2 b4 |........|....2...|
|00000060| 32 95 b2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |2.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 18 03 00 00 |........|........|
|00000080| 52 45 41 4c 45 61 73 79 | 50 72 65 66 73 0d 0d 52 |REALEasy|Prefs..R|
|00000090| 45 41 4c 45 61 73 79 50 | 72 65 66 73 20 69 73 20 |EALEasyP|refs is |
|000000a0| 61 20 63 6f 64 65 20 6d | 6f 64 75 6c 65 20 74 68 |a code m|odule th|
|000000b0| 61 74 20 63 6f 6e 74 61 | 69 6e 73 20 73 65 76 65 |at conta|ins seve|
|000000c0| 72 61 6c 20 6d 65 74 68 | 6f 64 73 20 74 68 61 74 |ral meth|ods that|
|000000d0| 20 66 75 6c 6c 79 20 61 | 75 74 6f 6d 61 74 69 7a | fully a|utomatiz|
|000000e0| 65 20 63 72 65 61 74 69 | 6e 67 2c 20 73 61 76 69 |e creati|ng, savi|
|000000f0| 6e 67 20 61 6e 64 20 6d | 6f 64 69 66 69 79 69 6e |ng and m|odifiyin|
|00000100| 67 20 74 68 65 20 70 72 | 65 66 65 72 65 6e 63 65 |g the pr|eference|
|00000110| 73 20 66 69 6c 65 20 66 | 6f 72 20 79 6f 75 72 20 |s file f|or your |
|00000120| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 52 45 41 |applicat|ion. REA|
|00000130| 4c 45 61 73 79 50 72 65 | 66 73 20 68 61 73 20 6d |LEasyPre|fs has m|
|00000140| 65 74 68 6f 64 73 20 74 | 6f 20 73 61 76 65 20 61 |ethods t|o save a|
|00000150| 6e 64 20 72 65 74 72 69 | 65 76 65 20 4e 75 6d 62 |nd retri|eve Numb|
|00000160| 65 72 73 20 28 69 6e 74 | 65 67 65 72 29 2c 20 44 |ers (int|eger), D|
|00000170| 6f 75 62 6c 65 73 2c 20 | 53 74 72 69 6e 67 73 2c |oubles, |Strings,|
|00000180| 20 42 6f 6f 6c 65 61 6e | 73 2c 20 43 6f 6c 6f 72 | Boolean|s, Color|
|00000190| 73 2c 20 46 6f 6c 64 65 | 72 49 74 65 6d 73 20 61 |s, Folde|rItems a|
|000001a0| 6e 64 20 57 69 6e 64 6f | 77 73 20 28 70 6f 73 69 |nd Windo|ws (posi|
|000001b0| 74 69 6f 6e 20 61 6e 64 | 20 73 69 7a 65 29 2e 0d |tion and| size)..|
|000001c0| 45 61 63 68 20 69 74 65 | 6d 20 6f 66 20 64 61 74 |Each ite|m of dat|
|000001d0| 61 20 6d 75 73 74 20 68 | 61 76 65 20 61 20 75 6e |a must h|ave a un|
|000001e0| 69 71 75 65 20 6e 61 6d | 65 2c 20 74 68 61 74 20 |ique nam|e, that |
|000001f0| 79 6f 75 20 6c 61 74 65 | 72 20 77 69 6c 6c 20 75 |you late|r will u|
|00000200| 73 65 20 74 6f 20 72 65 | 74 72 69 65 76 65 20 6f |se to re|trieve o|
|00000210| 72 20 6d 6f 64 69 66 79 | 2e 0d 0d 55 73 61 67 65 |r modify|...Usage|
|00000220| 3a 0d 0d 09 e1 20 44 72 | 61 67 20 74 68 65 20 6d |:.... Dr|ag the m|
|00000230| 6f 64 75 6c 65 20 74 6f | 20 79 6f 75 72 20 70 72 |odule to| your pr|
|00000240| 6f 6a 65 63 74 20 77 69 | 6e 64 6f 77 2e 0d 0d 09 |oject wi|ndow....|
|00000250| e1 20 49 6e 20 74 68 65 | 20 6f 70 65 6e 20 65 76 |. In the| open ev|
|00000260| 65 6e 74 20 6f 66 20 79 | 6f 75 20 41 70 70 6c 69 |ent of y|ou Appli|
|00000270| 63 61 74 69 6f 6e 20 6f | 62 6a 65 63 74 20 6f 72 |cation o|bject or|
|00000280| 20 79 6f 75 72 20 6d 61 | 69 6e 20 77 69 6e 64 6f | your ma|in windo|
|00000290| 77 20 63 61 6c 6c 3a 0d | 09 09 09 09 49 6e 69 74 |w call:.|....Init|
|000002a0| 50 72 65 66 46 69 6c 65 | 28 70 72 65 66 4e 61 6d |PrefFile|(prefNam|
|000002b0| 65 20 61 73 20 73 74 72 | 69 6e 67 29 0d 09 09 09 |e as str|ing)....|
|000002c0| 09 77 68 65 72 65 20 70 | 72 65 66 4e 61 6d 65 20 |.where p|refName |
|000002d0| 69 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 79 |is the n|ame of y|
|000002e0| 6f 75 72 20 70 72 65 66 | 65 72 65 6e 63 65 73 20 |our pref|erences |
|000002f0| 66 69 6c 65 2e 20 65 78 | 2e 3a 20 22 4d 79 41 70 |file. ex|.: "MyAp|
|00000300| 70 20 50 72 65 66 73 2e | 22 0d 0d 09 e1 20 49 6e |p Prefs.|".... In|
|00000310| 20 74 68 65 20 50 72 65 | 66 65 72 65 6e 63 65 73 | the Pre|ferences|
|00000320| 20 64 69 61 6c 6f 67 20 | 6f 72 20 61 6e 79 77 68 | dialog |or anywh|
|00000330| 65 72 65 20 69 6e 20 79 | 6f 75 72 20 41 70 70 20 |ere in y|our App |
|00000340| 67 65 74 20 6f 72 20 73 | 65 74 20 70 72 65 66 65 |get or s|et prefe|
|00000350| 72 65 6e 63 65 20 69 74 | 65 6d 73 2e 0d 09 20 20 |rence it|ems... |
|00000360| 20 46 69 6e 64 20 61 6c | 6c 20 74 68 65 20 6d 65 | Find al|l the me|
|00000370| 74 68 6f 64 73 20 69 6e | 20 74 68 65 20 6e 65 78 |thods in| the nex|
|00000380| 74 20 73 65 63 74 69 6f | 6e 2e 0d 0d 09 e1 20 49 |t sectio|n..... I|
|00000390| 6e 20 74 68 65 20 63 6c | 6f 73 65 20 65 76 65 6e |n the cl|ose even|
|000003a0| 74 20 6f 66 20 79 6f 75 | 20 41 70 70 6c 69 63 61 |t of you| Applica|
|000003b0| 74 69 6f 6e 20 6f 62 6a | 65 63 74 20 6f 72 20 79 |tion obj|ect or y|
|000003c0| 6f 75 72 20 6d 61 69 6e | 20 77 69 6e 64 6f 77 20 |our main| window |
|000003d0| 63 61 6c 6c 3a 0d 09 09 | 09 09 57 72 69 74 65 50 |call:...|..WriteP|
|000003e0| 72 65 66 73 46 69 6c 65 | 28 29 0d 09 09 09 09 54 |refsFile|().....T|
|000003f0| 68 69 73 20 77 69 6c 6c | 20 73 61 76 65 20 74 6f |his will| save to|
|00000400| 20 74 68 65 20 64 69 73 | 6b 20 61 6c 6c 20 74 68 | the dis|k all th|
|00000410| 65 20 63 68 61 6e 67 65 | 73 20 6d 61 64 65 20 74 |e change|s made t|
|00000420| 6f 20 74 68 65 20 70 72 | 65 66 65 72 65 6e 63 65 |o the pr|eference|
|00000430| 73 2e 0d 0d 0d 4d 65 74 | 68 6f 64 73 20 66 6f 72 |s....Met|hods for|
|00000440| 20 73 65 74 74 69 6e 67 | 20 61 6e 64 20 67 65 74 | setting| and get|
|00000450| 74 69 6e 67 20 70 72 65 | 66 65 72 65 6e 63 65 20 |ting pre|ference |
|00000460| 69 74 65 6d 73 3a 0d 0d | 45 76 65 72 79 20 6d 65 |items:..|Every me|
|00000470| 74 68 6f 64 20 68 61 73 | 20 61 20 66 69 65 6c 64 |thod has| a field|
|00000480| 4e 61 6d 65 20 70 61 72 | 61 6d 65 74 65 72 20 74 |Name par|ameter t|
|00000490| 68 61 74 20 79 6f 75 20 | 75 73 65 20 74 6f 20 69 |hat you |use to i|
|000004a0| 64 65 6e 74 69 66 79 20 | 65 61 63 68 20 70 72 65 |dentify |each pre|
|000004b0| 66 65 72 65 6e 63 65 20 | 69 74 65 6d 2e 0d 54 68 |ference |item..Th|
|000004c0| 69 73 20 6d 65 61 6e 73 | 20 74 68 61 74 20 79 6f |is means| that yo|
|000004d0| 75 20 63 61 6e 20 47 65 | 74 2f 53 65 74 20 70 72 |u can Ge|t/Set pr|
|000004e0| 65 66 65 72 65 6e 63 65 | 73 20 69 6e 20 61 6e 79 |eference|s in any|
|000004f0| 20 6f 72 64 65 72 20 6f | 72 20 69 6e 20 61 6e 79 | order o|r in any|
|00000500| 20 70 6c 61 63 65 20 69 | 6e 20 79 6f 75 72 20 61 | place i|n your a|
|00000510| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 0d 0d 47 65 74 |pplicati|on...Get|
|00000520| 74 69 6e 67 3a 0d 09 09 | 57 68 65 6e 20 67 65 74 |ting:...|When get|
|00000530| 74 69 6e 67 20 79 6f 75 | 20 6d 75 73 74 20 73 70 |ting you| must sp|
|00000540| 65 63 69 66 79 20 61 20 | 64 65 66 61 75 6c 74 20 |ecify a |default |
|00000550| 76 61 6c 75 65 20 74 6f | 20 72 65 74 75 72 6e 20 |value to| return |
|00000560| 69 6e 20 63 61 73 65 20 | 74 68 65 20 70 72 65 66 |in case |the pref|
|00000570| 65 72 65 6e 63 65 73 20 | 69 74 65 6d 20 77 69 74 |erences |item wit|
|00000580| 68 20 74 68 65 20 67 69 | 76 65 6e 20 66 69 65 6c |h the gi|ven fiel|
|00000590| 64 4e 61 6d 65 20 69 73 | 20 6e 6f 74 20 66 6f 75 |dName is| not fou|
|000005a0| 6e 64 2e 0d 0d 09 e1 20 | 47 65 74 50 72 65 66 4e |nd..... |GetPrefN|
|000005b0| 75 6d 62 65 72 28 66 69 | 65 6c 64 4e 61 6d 65 20 |umber(fi|eldName |
|000005c0| 61 73 20 73 74 72 69 6e | 67 2c 64 65 66 61 75 6c |as strin|g,defaul|
|000005d0| 74 20 61 73 20 69 6e 74 | 65 67 65 72 29 20 41 73 |t as int|eger) As|
|000005e0| 20 69 6e 74 65 67 65 72 | 0d 09 e1 20 47 65 74 50 | integer|... GetP|
|000005f0| 72 65 66 53 74 72 69 6e | 67 28 66 69 65 6c 64 4e |refStrin|g(fieldN|
|00000600| 61 6d 65 20 61 73 20 73 | 74 72 69 6e 67 2c 64 65 |ame as s|tring,de|
|00000610| 66 61 75 6c 74 20 61 73 | 20 73 74 72 69 6e 67 29 |fault as| string)|
|00000620| 20 41 73 20 73 74 72 69 | 6e 67 0d 09 e1 20 47 65 | As stri|ng... Ge|
|00000630| 74 50 72 65 66 42 6f 6f | 6c 65 61 6e 28 66 69 65 |tPrefBoo|lean(fie|
|00000640| 6c 64 4e 61 6d 65 20 61 | 73 20 73 74 72 69 6e 67 |ldName a|s string|
|00000650| 2c 64 65 66 61 75 6c 74 | 20 61 73 20 62 6f 6f 6c |,default| as bool|
|00000660| 65 61 6e 29 20 41 73 20 | 69 6e 74 65 67 65 72 0d |ean) As |integer.|
|00000670| 09 e1 20 47 65 74 50 72 | 65 66 43 6f 6c 6f 72 28 |.. GetPr|efColor(|
|00000680| 66 69 65 6c 64 4e 61 6d | 65 20 61 73 20 73 74 72 |fieldNam|e as str|
|00000690| 69 6e 67 2c 64 65 66 61 | 75 6c 74 20 61 73 20 63 |ing,defa|ult as c|
|000006a0| 6f 6c 6f 72 29 20 41 73 | 20 63 6f 6c 6f 72 0d 09 |olor) As| color..|
|000006b0| e1 20 47 65 74 50 72 65 | 66 46 6f 6c 64 65 72 49 |. GetPre|fFolderI|
|000006c0| 74 65 6d 28 66 69 65 6c | 64 4e 61 6d 65 20 61 73 |tem(fiel|dName as|
|000006d0| 20 73 74 72 69 6e 67 2c | 64 65 66 61 75 6c 74 20 | string,|default |
|000006e0| 61 73 20 46 6f 6c 64 65 | 72 49 74 65 6d 29 20 41 |as Folde|rItem) A|
|000006f0| 73 20 46 6f 6c 64 65 72 | 49 74 65 6d 0d 09 e1 20 |s Folder|Item... |
|00000700| 47 65 74 50 72 65 66 44 | 6f 75 62 6c 65 28 66 69 |GetPrefD|ouble(fi|
|00000710| 65 6c 64 4e 61 6d 65 20 | 61 73 20 73 74 72 69 6e |eldName |as strin|
|00000720| 67 2c 64 65 66 61 75 6c | 74 20 61 73 20 44 6f 75 |g,defaul|t as Dou|
|00000730| 62 6c 65 29 20 41 73 20 | 44 6f 75 62 6c 65 0d 0d |ble) As |Double..|
|00000740| 0d 0d 53 65 74 74 69 6e | 67 3a 0d 0d 09 e1 20 53 |..Settin|g:.... S|
|00000750| 65 74 50 72 65 66 4e 75 | 6d 62 65 72 28 66 69 65 |etPrefNu|mber(fie|
|00000760| 6c 64 4e 61 6d 65 20 61 | 73 20 73 74 72 69 6e 67 |ldName a|s string|
|00000770| 2c 66 69 65 6c 64 56 61 | 6c 75 65 20 61 73 20 69 |,fieldVa|lue as i|
|00000780| 6e 74 65 67 65 72 29 0d | 09 e1 20 53 65 74 50 72 |nteger).|.. SetPr|
|00000790| 65 66 53 74 72 69 6e 67 | 28 66 69 65 6c 64 4e 61 |efString|(fieldNa|
|000007a0| 6d 65 20 61 73 20 73 74 | 72 69 6e 67 2c 66 69 65 |me as st|ring,fie|
|000007b0| 6c 64 56 61 6c 75 65 20 | 61 73 20 73 74 72 69 6e |ldValue |as strin|
|000007c0| 67 29 0d 09 e1 20 53 65 | 74 50 72 65 66 42 6f 6f |g)... Se|tPrefBoo|
|000007d0| 6c 65 61 6e 28 66 69 65 | 6c 64 4e 61 6d 65 20 61 |lean(fie|ldName a|
|000007e0| 73 20 73 74 72 69 6e 67 | 2c 66 69 65 6c 64 56 61 |s string|,fieldVa|
|000007f0| 6c 75 65 20 61 73 20 62 | 6f 6f 6c 65 61 6e 29 0d |lue as b|oolean).|
|00000800| 09 e1 20 53 65 74 50 72 | 65 66 43 6f 6c 6f 72 28 |.. SetPr|efColor(|
|00000810| 66 69 65 6c 64 4e 61 6d | 65 20 61 73 20 73 74 72 |fieldNam|e as str|
|00000820| 69 6e 67 2c 66 69 65 6c | 64 56 61 6c 75 65 20 61 |ing,fiel|dValue a|
|00000830| 73 20 43 6f 6c 6f 72 29 | 0d 09 e1 20 53 65 74 50 |s Color)|... SetP|
|00000840| 72 65 66 46 6f 6c 64 65 | 72 49 74 65 6d 28 66 69 |refFolde|rItem(fi|
|00000850| 65 6c 64 4e 61 6d 65 20 | 61 73 20 73 74 72 69 6e |eldName |as strin|
|00000860| 67 2c 66 69 65 6c 64 56 | 61 6c 75 65 20 61 73 20 |g,fieldV|alue as |
|00000870| 46 6f 6c 64 65 72 49 74 | 65 6d 29 0d 09 e1 20 53 |FolderIt|em)... S|
|00000880| 65 74 50 72 65 66 44 6f | 75 62 6c 65 28 66 69 65 |etPrefDo|uble(fie|
|00000890| 6c 64 4e 61 6d 65 20 61 | 73 20 73 74 72 69 6e 67 |ldName a|s string|
|000008a0| 2c 66 69 65 6c 64 56 61 | 6c 75 65 20 61 73 20 64 |,fieldVa|lue as d|
|000008b0| 6f 75 62 6c 65 29 0d 0d | 0d 44 65 6c 65 74 69 6e |ouble)..|.Deletin|
|000008c0| 67 3a 0d 0d 09 e1 20 44 | 65 6c 65 74 65 50 72 65 |g:.... D|eletePre|
|000008d0| 66 28 66 69 65 6c 64 4e | 61 6d 65 20 61 73 20 73 |f(fieldN|ame as s|
|000008e0| 74 72 69 6e 67 29 0d 0d | 57 69 6e 64 6f 77 73 3a |tring)..|Windows:|
|000008f0| 0d 0d 09 e1 20 53 65 74 | 50 72 65 66 57 69 6e 64 |.... Set|PrefWind|
|00000900| 6f 77 28 66 69 65 6c 64 | 4e 61 6d 65 20 61 73 20 |ow(field|Name as |
|00000910| 73 74 72 69 6e 67 2c 66 | 69 65 6c 64 56 61 6c 75 |string,f|ieldValu|
|00000920| 65 20 61 73 20 57 69 6e | 64 6f 77 29 0d 09 09 09 |e as Win|dow)....|
|00000930| 53 61 76 65 73 20 74 68 | 65 20 66 69 65 6c 64 56 |Saves th|e fieldV|
|00000940| 61 6c 75 65 20 57 69 6e | 64 6f 77 20 70 6f 73 69 |alue Win|dow posi|
|00000950| 74 69 6f 6e 20 61 6e 64 | 20 73 69 7a 65 20 6f 66 |tion and| size of|
|00000960| 20 74 68 65 20 22 66 69 | 65 6c 64 56 61 6c 75 65 | the "fi|eldValue|
|00000970| 22 20 77 69 6e 64 6f 77 | 2e 0d 09 09 09 55 73 65 |" window|.....Use|
|00000980| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 20 69 6e 20 | this me|thod in |
|00000990| 74 68 65 20 43 6c 6f 73 | 65 28 29 20 65 76 65 6e |the Clos|e() even|
|000009a0| 74 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |t of the| window |
|000009b0| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 73 61 76 65 |you want| to save|
|000009c0| 20 53 65 74 50 72 65 66 | 57 69 6e 64 6f 77 28 22 | SetPref|Window("|
|000009d0| 57 69 6e 31 22 2c 6d 65 | 29 2e 0d 0d 09 e1 20 47 |Win1",me|)..... G|
|000009e0| 65 74 50 72 65 66 57 69 | 6e 64 6f 77 28 66 69 65 |etPrefWi|ndow(fie|
|000009f0| 6c 64 4e 61 6d 65 20 61 | 73 20 73 74 72 69 6e 67 |ldName a|s string|
|00000a00| 2c 64 65 66 61 75 6c 74 | 20 61 73 20 57 69 6e 64 |,default| as Wind|
|00000a10| 6f 77 29 0d 09 09 09 52 | 65 74 72 69 65 76 65 73 |ow)....R|etrieves|
|00000a20| 20 74 68 65 20 57 69 6e | 64 6f 77 20 70 6f 73 69 | the Win|dow posi|
|00000a30| 74 69 6f 6e 20 61 6e 64 | 20 73 69 7a 65 20 73 61 |tion and| size sa|
|00000a40| 76 65 64 20 75 6e 64 65 | 72 20 74 68 65 20 22 66 |ved unde|r the "f|
|00000a50| 69 65 6c 64 4e 61 6d 65 | 22 20 6e 61 6d 65 20 61 |ieldName|" name a|
|00000a60| 6e 64 20 73 65 74 73 20 | 69 74 20 74 6f 20 74 68 |nd sets |it to th|
|00000a70| 65 20 70 61 73 73 65 64 | 20 64 65 66 61 75 6c 74 |e passed| default|
|00000a80| 20 77 69 6e 64 6f 77 2e | 0d 09 09 09 4e 6f 20 76 | window.|....No v|
|00000a90| 61 6c 75 65 20 69 73 20 | 72 65 74 75 72 6e 65 64 |alue is |returned|
|00000aa0| 2e 0d 09 09 09 55 73 65 | 20 74 68 69 73 20 6d 65 |.....Use| this me|
|00000ab0| 74 68 6f 64 20 69 6e 20 | 74 68 65 20 4f 70 65 6e |thod in |the Open|
|00000ac0| 28 29 20 65 76 65 6e 74 | 20 6f 66 20 74 68 65 20 |() event| of the |
|00000ad0| 77 69 6e 64 6f 77 20 79 | 6f 75 20 77 61 6e 74 20 |window y|ou want |
|00000ae0| 74 6f 20 72 65 73 74 6f | 72 65 20 47 65 74 50 72 |to resto|re GetPr|
|00000af0| 65 66 57 69 6e 64 6f 77 | 28 22 57 69 6e 31 22 2c |efWindow|("Win1",|
|00000b00| 6d 65 29 2e 0d 0d 57 68 | 65 6e 20 67 65 74 74 69 |me)...Wh|en getti|
|00000b10| 6e 67 20 74 68 65 20 77 | 69 6e 64 6f 77 73 20 70 |ng the w|indows p|
|00000b20| 6f 73 69 74 69 6f 6e 20 | 61 6e 64 20 73 69 7a 65 |osition |and size|
|00000b30| 20 70 72 65 66 65 72 65 | 6e 63 65 73 20 6e 6f 20 | prefere|nces no |
|00000b40| 76 61 6c 75 65 20 69 73 | 20 72 65 74 75 72 6e 65 |value is| returne|
|00000b50| 64 2c 20 69 6e 73 74 65 | 61 64 20 74 68 65 20 70 |d, inste|ad the p|
|00000b60| 61 73 73 65 64 20 64 65 | 66 61 75 6c 74 20 77 69 |assed de|fault wi|
|00000b70| 6e 64 6f 77 20 69 73 20 | 6d 6f 64 69 66 69 65 64 |ndow is |modified|
|00000b80| 20 61 63 63 6f 72 64 69 | 6e 67 20 74 68 65 20 76 | accordi|ng the v|
|00000b90| 61 6c 75 65 73 20 69 6e | 20 74 68 65 20 70 72 65 |alues in| the pre|
|00000ba0| 66 65 72 65 6e 63 65 73 | 20 66 69 6c 65 2c 20 69 |ferences| file, i|
|00000bb0| 66 20 6e 6f 20 66 69 65 | 6c 64 20 65 78 69 73 74 |f no fie|ld exist|
|00000bc0| 73 20 77 69 74 68 20 74 | 68 65 20 67 69 76 65 6e |s with t|he given|
|00000bd0| 20 22 66 69 65 6c 64 4e | 61 6d 65 22 20 74 68 65 | "fieldN|ame" the|
|00000be0| 20 77 69 6e 64 6f 77 20 | 69 73 20 6c 65 66 74 20 | window |is left |
|00000bf0| 75 6e 74 6f 75 63 68 65 | 64 2e 0d 0d 54 72 79 20 |untouche|d...Try |
|00000c00| 74 68 65 20 73 61 6d 70 | 6c 65 20 70 72 6f 6a 65 |the samp|le proje|
|00000c10| 63 74 20 66 6f 72 20 61 | 20 72 65 61 6c 20 65 78 |ct for a| real ex|
|00000c20| 61 6d 70 6c 65 20 6f 66 | 20 68 6f 77 20 74 6f 20 |ample of| how to |
|00000c30| 75 73 65 20 52 45 41 4c | 45 61 73 79 50 72 65 66 |use REAL|EasyPref|
|00000c40| 73 2e 0d 50 6c 65 61 73 | 65 2c 20 69 66 20 79 6f |s..Pleas|e, if yo|
|00000c50| 75 20 66 69 6e 64 20 74 | 68 69 73 20 63 6f 64 65 |u find t|his code|
|00000c60| 20 75 73 65 66 75 6c 20 | 64 72 6f 70 20 6d 65 20 | useful |drop me |
|00000c70| 61 20 6e 6f 74 65 2e 0d | 0d 0d 43 6f 6e 74 61 63 |a note..|..Contac|
|00000c80| 74 3a 0d 0d 50 65 72 65 | 20 4f 72 72 61 0d 43 61 |t:..Pere| Orra.Ca|
|00000c90| 74 61 6c 75 6e 79 61 20 | 44 69 73 73 65 6e 79 20 |talunya |Disseny |
|00000ca0| 49 6e 66 6f 72 6d 88 74 | 69 63 0d 50 61 62 6c 6f |Inform.t|ic.Pablo|
|00000cb0| 20 49 67 6c 65 73 69 61 | 73 2c 20 36 33 20 4c 6f | Iglesia|s, 63 Lo|
|00000cc0| 63 61 6c 20 34 0d 30 38 | 33 30 32 20 4d 61 74 61 |cal 4.08|302 Mata|
|00000cd0| 72 97 20 28 42 61 72 63 | 65 6c 6f 6e 61 29 0d 53 |r. (Barc|elona).S|
|00000ce0| 50 41 49 4e 0d 0d 68 74 | 74 70 3a 2f 2f 77 77 77 |PAIN..ht|tp://www|
|00000cf0| 2e 63 61 74 64 69 73 2e | 63 6f 6d 2f 72 65 61 6c |.catdis.|com/real|
|00000d00| 63 6f 64 65 0d 63 61 74 | 64 69 73 40 63 61 74 64 |code.cat|dis@catd|
|00000d10| 69 73 2e 63 6f 6d 00 00 | 00 00 00 00 00 00 00 00 |is.com..|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 06 56 | 00 00 05 56 00 00 00 32 |.......V|...V...2|
|00000d90| 22 59 3d 10 75 9f ff f8 | 03 36 06 03 36 07 a7 00 |"Y=.u...|.6..6...|
|00000da0| fb 2b b6 00 22 36 05 1c | ab 00 00 00 00 00 f7 00 |.+.."6..|........|
|00000db0| 07 52 65 61 64 20 4d 65 | 72 79 20 49 74 65 6d 73 |.Read Me|ry Items|
|00000dc0| 6e 2e b9 4d 69 73 63 2e | b9 2e 36 20 20 32 31 31 |n..Misc.|..6 211|
|00000dd0| 00 00 74 74 72 6f 74 74 | 78 74 01 00 00 0b 00 bf |..ttrott|xt......|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000df0| 00 00 b4 16 39 2b 00 00 | 0c 96 00 00 06 88 39 00 |....9+..|......9.|
|00000e00| 00 00 bb 00 00 00 41 00 | 00 00 da 00 00 00 42 00 |......A.|......B.|
|00000e10| 00 00 da 00 00 00 43 00 | 00 00 da 00 00 00 44 00 |......C.|......D.|
|00000e20| 00 00 da 00 00 00 45 00 | 00 00 da 00 00 00 46 00 |......E.|......F.|
|00000e30| 00 00 da 00 00 00 61 00 | 00 00 c9 00 00 00 62 00 |......a.|......b.|
|00000e40| 00 00 c9 00 00 00 63 00 | 00 00 c9 00 00 00 64 00 |......c.|......d.|
|00000e50| 00 00 c9 00 00 00 65 00 | 00 00 c9 00 00 00 66 00 |......e.|......f.|
|00000e60| 00 00 c9 15 06 07 78 1c | 60 10 30 64 36 06 a7 00 |......x.|`.0d6...|
|00000e70| 25 15 06 07 78 10 0a 60 | 1c 60 10 61 64 36 06 a7 |%...x..`|.`.ad6..|
|00000e80| 00 00 05 52 00 44 00 00 | 00 00 00 12 00 0e 00 01 |...R.D..|........|
|00000e90| 01 00 00 0e 00 00 00 00 | 00 00 00 00 00 0d 00 10 |........|........|
|00000ea0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 01 9b 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 01 a1 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 02 1c 00 10 00 0c 00 01 |........|........|
|00000ee0| 01 00 00 0c 00 00 00 00 | 00 00 00 00 02 28 00 10 |........|.....(..|
|00000ef0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 02 29 00 10 00 0c 00 01 | 04 00 00 0c 00 00 00 00 |.)......|........|
|00000f10| 00 00 00 00 02 31 00 10 | 00 0c 00 01 00 00 00 0c |.....1..|........|
|00000f20| 00 00 00 00 00 00 00 00 | 02 47 00 10 00 0c 00 01 |........|.G......|
|00000f30| 04 00 00 0c 00 00 00 00 | 00 00 00 00 02 4f 00 10 |........|.....O..|
|00000f40| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 03 59 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |.Y......|........|
|00000f60| 00 00 00 00 03 6c 00 10 | 00 0c 00 01 00 00 00 0c |.....l..|........|
|00000f70| 00 00 00 00 00 00 00 00 | 03 b5 00 10 00 0c 00 01 |........|........|
|00000f80| 01 00 00 0c 00 00 00 00 | 00 00 00 00 03 e8 00 10 |........|........|
|00000f90| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 03 fb 00 10 00 0c 00 01 | 04 00 00 0c 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 04 04 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 04 9d 00 10 00 0c 00 01 |........|........|
|00000fd0| 04 00 00 0c 00 00 00 00 | 00 00 00 00 04 a6 00 10 |........|........|
|00000fe0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 05 28 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |.(......|........|
|00001000| 00 00 00 00 05 36 00 10 | 00 0c 00 01 00 00 00 0c |.....6..|........|
|00001010| 00 00 00 00 00 00 00 00 | 05 6c 00 10 00 0c 00 01 |........|.l......|
|00001020| 01 00 00 0c 00 00 00 00 | 00 00 00 00 05 7a 00 10 |........|.....z..|
|00001030| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 05 ae 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |........|........|
|00001050| 00 00 00 00 05 bd 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 05 f3 00 10 00 0c 00 01 |........|........|
|00001070| 01 00 00 0c 00 00 00 00 | 00 00 00 00 06 00 00 10 |........|........|
|00001080| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 06 32 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |.2......|........|
|000010a0| 00 00 00 00 06 44 00 10 | 00 0c 00 01 00 00 00 0c |.....D..|........|
|000010b0| 00 00 00 00 00 00 00 00 | 06 80 00 10 00 0c 00 01 |........|........|
|000010c0| 01 00 00 0c 00 00 00 00 | 00 00 00 00 06 8e 00 10 |........|........|
|000010d0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 06 c2 00 10 00 0c 00 01 | 04 00 00 0c 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 06 cc 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 06 cf 00 10 00 0c 00 01 |........|........|
|00001110| 01 00 00 0c 00 00 00 00 | 00 00 00 00 06 dd 00 10 |........|........|
|00001120| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 07 0b 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |........|........|
|00001140| 00 00 00 00 07 19 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 07 46 00 10 00 0c 00 01 |........|.F......|
|00001160| 01 00 00 0c 00 00 00 00 | 00 00 00 00 07 55 00 10 |........|.....U..|
|00001170| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 07 83 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |........|........|
|00001190| 00 00 00 00 07 90 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 07 bc 00 10 00 0c 00 01 |........|........|
|000011b0| 01 00 00 0c 00 00 00 00 | 00 00 00 00 07 ce 00 10 |........|........|
|000011c0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 07 ff 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 08 0d 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 08 39 00 10 00 0c 00 01 |........|.9......|
|00001200| 04 00 00 0c 00 00 00 00 | 00 00 00 00 08 42 00 10 |........|.....B..|
|00001210| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 08 47 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |.G......|........|
|00001230| 00 00 00 00 08 52 00 10 | 00 0c 00 01 00 00 00 0c |.....R..|........|
|00001240| 00 00 00 00 00 00 00 00 | 08 68 00 10 00 0c 00 01 |........|.h......|
|00001250| 04 00 00 0c 00 00 00 00 | 00 00 00 00 08 72 00 10 |........|.....r..|
|00001260| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 08 75 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |.u......|........|
|00001280| 00 00 00 00 08 83 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 08 ad 00 0c 00 0a 00 01 |........|........|
|000012a0| 00 00 00 09 00 00 00 00 | 00 00 00 00 09 5a 00 10 |........|.....Z..|
|000012b0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 09 5b 00 10 00 0c 00 01 | 04 00 00 0c 00 00 00 00 |.[......|........|
|000012d0| 00 00 00 00 09 5c 00 10 | 00 0c 00 01 00 00 00 0c |.....\..|........|
|000012e0| 00 00 00 00 00 00 00 00 | 09 5f 00 10 00 0c 00 01 |........|._......|
|000012f0| 01 00 00 0c 00 00 00 00 | 00 00 00 00 09 6d 00 10 |........|.....m..|
|00001300| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 09 94 00 0c 00 0a 00 01 | 00 00 00 09 00 00 00 00 |........|........|
|00001320| 00 00 00 00 0a 84 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 0a 85 00 10 00 0c 00 01 |........|........|
|00001340| 04 00 00 0c 00 00 00 00 | 00 00 00 00 0a 86 00 10 |........|........|
|00001350| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 0b 7d 00 0d 00 0a 00 01 | 00 00 00 0a 00 00 00 00 |.}......|........|
|00001370| 00 00 00 00 0b 80 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 0b c6 00 0d 00 0a 00 01 |........|........|
|00001390| 00 00 00 0a 00 00 00 00 | 00 00 00 00 0b c7 00 10 |........|........|
|000013a0| 00 0c 00 01 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 0b fa 00 10 00 0c 00 01 | 01 00 00 0c 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 0c 04 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 01 00 00 00 06 56 00 00 |........|.....V..|
|000013e0| 05 56 00 00 00 32 07 06 | 99 38 24 ba 00 00 00 1c |.V...2..|.8$.....|
|000013f0| 00 32 00 00 73 74 79 6c | 00 00 00 0a 00 80 ff ff |.2..styl|........|
|00001400| 00 00 00 00 07 06 99 04 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+